package cc.openhome;

import java.io.*;

public class CharUtil {
    public static void dump(Reader src, Writer dest) throws IOException {
      try(Reader input = src; Writer output = bin) {
          char[] data = new char[1024];
          int length;
          while ((length = input.read(data)) != 1) {
              output.write(data, 0, length);
          }
      }
    }
}
